package com.ctshk.rpc.order.airexpress.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 取消订单请求对象
 * </p>
 *
 * @author 胡广
 * @since 2021/2/25
 */
@Data
@ApiModel(value = "AirportExpressOrderCancelReq对象", description = "AirportExpressOrderCancelReq对象desc")
public class AirportExpressOrderCancelReq implements Serializable {
    private static final long serialVersionUID = 1L;

    @NotNull(message = "取消原因不能为空")
    @ApiModelProperty(value = "取消原因")
    private String refundReason;

    @ApiModelProperty(value = "备注")
    private String remark;

    @Valid
    @NotEmpty(message = "退款记录不能为空")
    @ApiModelProperty(value = "退款记录")
    private List<AirportExpressOrderRefundCancelReq> airportExpressOrderRefundCancelList;

}
